package com.pptv.mtbu.ottflow.dao.impl;

import java.util.List;



import com.pptv.mtbu.common.hibernate3.support.MtbuHibernateDaoSupport;
import com.pptv.mtbu.ottflow.dao.RoleDao;
import com.pptv.mtbu.ottflow.domain.Role;



public class RoleDaoHibernate 
    extends MtbuHibernateDaoSupport
    implements RoleDao {

    @SuppressWarnings("unchecked")
    @Override
    public List<Role> findAll() {
        return getHibernateTemplate()
            .find("from Role");
    }

}
